package com.webchat.pgc.repository.dao.mall;

import com.webchat.pgc.repository.entity.mall.MallCategory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface IMallCategoryDAO extends JpaRepository<MallCategory, Long> {


    List<MallCategory> findAllByStatusOrderBySortDescIdDesc(Integer status);
}
